package com.mybatis.example.mapper;

import com.mybatis.example.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sam
 * @since 2020-09-22
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    //@Select("select * from user where name = #{name}")
    List<User> findAA(String name);
}
